package com.iworkh.spring.aop.xml.aspect;

import org.aspectj.lang.JoinPoint;

/**
 * Check 切面
 *
 * @author: iworkh-沐雨云楼
 * @date: 2019-12-19
 */
public class CheckAspect {

    public void beforeMethod(JoinPoint joinPoint) {
        System.out.println("CheckAspect...before--" + joinPoint.getSignature().getName());
    }

    public void afterMethod() {
        System.out.println("CheckAspect...after");
    }

    public void afterReturning(Object result) {
        System.out.println("CheckAspect...afterReturning--" + result);
    }
}
